package com.Test.com;

import java.io.Serializable;

public class SerialiableMessage implements Serializable {
    private String sendUserNmae;
    private String sendIp;
    private String receiveUserName;
    private String receiveIp;
    private String message;

    public SerialiableMessage(String sendUserNmae, String sendIp, String receiveUserName, String message) {
        this.sendUserNmae = sendUserNmae;
        this.sendIp = sendIp;
        this.receiveUserName = receiveUserName;
        this.message = message;
    }

    public String getSendUserNmae() {
        return sendUserNmae;
    }

    public void setSendUserNmae(String sendUserNmae) {
        this.sendUserNmae = sendUserNmae;
    }

    public String getSendIp() {
        return sendIp;
    }

    public void setSendIp(String sendIp) {
        this.sendIp = sendIp;
    }

    public String getReceiveUserName() {
        return receiveUserName;
    }

    public void setReceiveUserName(String receiveUserName) {
        this.receiveUserName = receiveUserName;
    }

    public String getReceiveIp() {
        return receiveIp;
    }

    public void setReceiveIp(String receiveIp) {
        this.receiveIp = receiveIp;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public SerialiableMessage() {
    }

    public SerialiableMessage(String sendUserNmae, String sendIp, String receiveUserName, String receiveIp, String message) {
        this.sendUserNmae = sendUserNmae;
        this.sendIp = sendIp;
        this.receiveUserName = receiveUserName;
        this.receiveIp = receiveIp;
        this.message = message;
    }
}
